package cn.edu.lingnan.user.dtos;

import cn.edu.lingnan.user.dtos.AnswerDTO;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class SubmitExamDTO {
    @JsonProperty("examId")
    private Integer examId;

    @JsonProperty("userId")
    private Integer userId;

    @JsonProperty("answers")
    private List<AnswerDTO> answers;

    // 新增字段：用于存储 JSON 字符串
    private String answersJson;
}
